package com.design.mode.single;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-03 16:00:50
 */
public class Single03 {

    private static Single03 instance;

    private Single03() {
    }

    public static Single03 getInstance() {
        if (instance == null) {
            synchronized (Single03.class) {
                if (instance == null) {
                    instance = new Single03();
                }
            }
        }
        return instance;
    }
}
